@/*
  积分模板
@*/

<script type="text/template" id="itemScoreTemplate">
    <div class="jifen"  id="scoreItem" name="scoreItem">
        <p>恭喜您获得<span class="jifenNumber">^score^</span>积分</p >

    </div>

</script>
<script type="text/javascript">
var ScoreTemplate={
    itemTemplate: $("#itemScoreTemplate").html()
};
/**
 * item获取新的id
 */
ScoreTemplate.newCount = function () {
    if(this.count == undefined){
        this.count = 0;
    }
    this.count = this.count + 1;
};
</script>